package com.ruoyi.suggest.mapper;

import java.util.List;
import com.ruoyi.suggest.domain.ChatSuggestQuestion;

/**
 * 推荐问题Mapper接口
 */
public interface ChatSuggestQuestionMapper 
{
    /**
     * 查询推荐问题列表
     * 
     * @param chatSuggestQuestion 推荐问题
     * @return 推荐问题集合
     */
    public List<ChatSuggestQuestion> selectChatSuggestQuestionList(ChatSuggestQuestion chatSuggestQuestion);

    /**
     * 查询所有启用的推荐问题
     * 
     * @return 推荐问题集合
     */
    public List<ChatSuggestQuestion> selectEnabledChatSuggestQuestions();

    /**
     * 查询推荐问题详细
     * 
     * @param id 推荐问题ID
     * @return 推荐问题
     */
    public ChatSuggestQuestion selectChatSuggestQuestionById(Long id);

    /**
     * 新增推荐问题
     * 
     * @param chatSuggestQuestion 推荐问题
     * @return 结果
     */
    public int insertChatSuggestQuestion(ChatSuggestQuestion chatSuggestQuestion);

    /**
     * 修改推荐问题
     * 
     * @param chatSuggestQuestion 推荐问题
     * @return 结果
     */
    public int updateChatSuggestQuestion(ChatSuggestQuestion chatSuggestQuestion);

    /**
     * 删除推荐问题
     * 
     * @param id 推荐问题ID
     * @return 结果
     */
    public int deleteChatSuggestQuestionById(Long id);

    /**
     * 批量删除推荐问题
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteChatSuggestQuestionByIds(Long[] ids);
} 